package edu.study.api.common.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class RespDto<T> extends BaseRespDto {
	private T data;

    public void setData(T data) {
		this.data = data;
	}

    public T getData() {
		return this.data;
	}

	public static <T> RespDto success(T data){
    	RespDto resp =  new RespDto();
    	resp.setData(data);
    	return resp;
	}
}
